# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1139 -> 1.1140 # kernel/kallsyms.c 1.11 -> 1.12 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 03/08/19 davidm@wailua.hpl.hp.com 1.1140 # (kallsyms_open): Fix oops caused by uninitialized memory. # -------------------------------------------- # diff -Nru a/kernel/kallsyms.c b/kernel/kallsyms.c --- a/kernel/kallsyms.c Wed Aug 20 00:40:42 2003 +++ b/kernel/kallsyms.c Wed Aug 20 00:40:42 2003 @@ -252,6 +252,7 @@ iter = kmalloc(sizeof(*iter), GFP_KERNEL); if (!iter) return -ENOMEM; + reset_iter(iter); ret = seq_open(file, &kallsyms_op); if (ret == 0)